package com.alex.controller;

import com.alex.config.ProcessTag;
import com.alex.dao.Person;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping(value = "/advise")
public class AdviseController {

    @GetMapping(value = "/person")
    @ProcessTag
    public Person advise(@ProcessTag @RequestBody(required = false) Person person) {
        return person;
    }
}
